﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _38面向对象练习
{
    class Program
    {
        static void Main(string[] args)
        {
            
            Ticket t = new Ticket(200);
            t.Show();



            //一到一百的随机数
            Random r = new Random();
            int a = r.Next(1, 100);
            Console.WriteLine("随机数:{0}",a);
            Console.ReadKey();
        }
    }
}
